import React from 'react';
import './NewAdminButton.scss';
import Button from '@mui/material/Button';


function NewAdminButton({func}) {
    return (
        <Button id="AdminButton" className='NewAdminButton' onClick={func}>
            <img src='Union.svg' width="10%" alt='union' 
                 style={{marginRight: "8px"}}/>
            Добавить админа
        </Button>
    )
}

export default NewAdminButton;
